Improving R Interpreter’s Performance Through Specialization

نویسندگان

  • Haichuan Wang
  • David Padua
  • Peng Wu
چکیده

R, a dynamic scripting language designed for statistical computing, has grown in popularity in recent years. However, the low performance of R, due to inefficiencies in the interpretation, limits its usability. Our previous study classifies R programs into three types, including Type I (looping over data), Type II (vector programming), and Type III (glue codes). The most serious performance problems of R are mostly manifested on Type I R codes. We have proposed and implemented two approaches based on specialization to improve R’s performance for Type I R codes. Firstly, ORBIT VM, an extension of the GNU R VM, to perform aggressive object allocation removal and instruction path length reduction in the GNU R VM via profile-driven specialization techniques. Secondly, the VALOR compiler, transforming one specific R Type I code into Type II to reduce the interpretation overhead. These two approaches improved the running speedup from 3x to 7x in different contexts.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Identifying the components of universities smart specialization strategy

The strategy for smart specialization university has been one of the main policies of the European Union in recent years to develop regional performance and economic growth through university systems. In spite of this, no research has been done to identify the components of this strategy. Accordingly, this study aimed to identify the components of the smart specialization strategy of higher edu...

متن کامل

High School Sport Specialization Patterns of Current Division I Athletes

BACKGROUND Sport specialization is a strategy to acquire superior sport performance in 1 sport but is associated with increased injury risk. Currently, the degree of high school specialization among Division I athletes is unknown. HYPOTHESIS College athletes will display increased rates of specialization as they progress through their high school careers. STUDY DESIGN Descriptive epidemiolo...

متن کامل

Aspects of CXXR Internals

The CXXR project aims gradually to refactor the fundamental parts of the R interpreter from C into C++ whilst retaining the full functionality of the standard distribution of R. It is hoped that this will enable researchers more easily to enhance the functionality of R by allowing them to extend the interpreter’s internal C++ class hierarchy. The paper summarises progress to date and describes ...

متن کامل

Investigating the a Relationship between Empowering Behaviors of Managers and Improving the Organizational Performance of Employees of Ilam University of Medical Sciences in 2019

Introduction: In today’s world which includes vast changes and transformations, the belief has been formed that managers can be effective in production and performance through motivating and empowering behaviors. Thus, it is possible to increase the productivity and efficiency of the organization. The purpose of this study was to investigate the effect of managers’ empowering behaviors on impro...

متن کامل

Faster Run-time Specialized Code using Data Specialization

Run-time specialization is a technique that optimizes a program based on run-time information. In this context, specialization time must be constrained, limiting the possibility to further optimize the specialized code. We present a low-cost methodology for improving the code generated by a run-time specializer. This result is acheived by combining run-time specialization with another form of a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015